package yl.hs.bmipfull.pojo.production;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * 作用:  生产线物料口信息表实体类<br/>
 * 创建时间: 2021年05月25日 15时21分27秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "生产线物料口信息表", mapCode = "production_line_port")
public class ProductionLinePortEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "生产线物料口信息表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "YCJK")
    private String sn;
    /**
     * 物料口名称
     */
    @DBField(disName ="物料口名称")
    private String portName;
    /**
     * 物料口代码
     */
    @DBField(disName ="物料口代码")
    private String portCode;
    /**
     * 物料口名称拼音
     */

    private String portNamePY;
    /**
     * 仓库编号
     */
    @DBField(disName ="仓库编号")
    private String whSN;
    /**
     * 仓库名称
     */
    @DBField(disName ="仓库名称")
    private String whName;
    /**
     * 仓库名称拼音
     */

    private String whNamePY;
    /**
     * 下料比例
     */
    @DBField(disName ="下料比例")
    private BigDecimal outScale;
    /**
     * 原材类别编号
     */
    @DBField(disName ="原材类别编号")
    private String rmCateSN;
    /**
     * 原材编号
     */
    @DBField(disName ="原材编号")
    private String rmSN;
    /**
     * 排序代码
     */
    @DBField(disName ="排序")
    private String sortCode;
    /**
     * 备注
     */
    @DBField(disName ="备注")
    private String remark;
    /**
     * 组织代码
     */
    private String organizationCode;
    private String lineSN;
    /**
     * 状态
     */
    private Short state;

    public String getRmCateSN() {
        return rmCateSN;
    }

    public void setRmCateSN(String rmCateSN) {
        this.rmCateSN = rmCateSN;
    }

    public String getLineSN() {
        return lineSN;
    }

    public void setLineSN(String lineSN) {
        this.lineSN = lineSN;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getPortName() {
        return this.portName;
    }

    public void setPortName(String portName) {
        this.portName = portName;
    }

    public String getPortCode() {
        return this.portCode;
    }

    public void setPortCode(String portCode) {
        this.portCode = portCode;
    }

    public String getPortNamePY() {
        return this.portNamePY;
    }

    public void setPortNamePY(String portNamePY) {
        this.portNamePY = portNamePY;
    }

    public String getWhSN() {
        return this.whSN;
    }

    public void setWhSN(String whSN) {
        this.whSN = whSN;
    }

    public String getWhName() {
        return this.whName;
    }

    public void setWhName(String whName) {
        this.whName = whName;
    }

    public String getWhNamePY() {
        return this.whNamePY;
    }

    public void setWhNamePY(String whNamePY) {
        this.whNamePY = whNamePY;
    }

    public BigDecimal getOutScale() {
        return this.outScale;
    }

    public void setOutScale(BigDecimal outScale) {
        this.outScale = outScale;
    }

    public String getRmSN() {
        return this.rmSN;
    }

    public void setRmSN(String rmSN) {
        this.rmSN = rmSN;
    }

    public String getSortCode() {
        return this.sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrganizationCode() {
        return this.organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }


}